#ifndef __DB_STATEMENT_H__
#define __DB_STATEMENT_H__

#define DB_MAX_NAME_LEN

typedef enum {
    PROTOCOL_UNKNOWN = 0,
    PROTOCOL_MODBUS_RTU = 1,
    PROTOCOL_MODBUS_TCP = 2,
    PROTOCOL_MODBUS_ASCII = 3,
    PROTOCOL_OPCUA = 10,
    PROTOCOL_COAP = 20,
    PROTOCOL_DLT698 = 30,
    PROTOCOL_DLT645 = 40,
    PROTOCOL_IEC104 = 50,
    //mqtt协议
    PROTOCOL_MQTT_1 = 1000,
    //http协议
    PROTOCOL_HTTP_1 = 2000
    //
}T_PROTOCOL_TYPE;


typedef enum _GW_INTERFACE_TYPE{
    GW_INTERFACE_UART     = 1,
    GW_INTERFACE_NET      = 2,
    GW_INTERFACE_HPLC     = 3,
    GW_INTERFACE_DI       = 4,
    GW_INTERFACE_DO       = 5,
    GW_INTERFACE_CAN      = 6
}T_GW_INTERFACE_TYPE;


#endif // __DB_STATEMENT_H__